package day09.Map.LX;

import java.util.HashMap;
import java.util.Map;

public class Lian01 {
    public static void main(String[] args) {
        Map<String,String>map=new HashMap<>();
        map.put("张无忌", "赵敏");
        map.put("郭靖", "黄蓉");
        map.put("杨过", "小龙女");
//        String remove = map.remove("张无忌");
//        System.out.println(remove);
//        System.out.println(map);
        boolean b = map.containsKey("张无忌");
        System.out.println(b);
        boolean b1 = map.containsValue("赵敏");
        System.out.println(b1);
    }
}
